package com.ahuan.mapper;

import com.ahuan.domain.Menu;
import com.ahuan.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LoginMapper {
    User selectByUserName(String username, String password);

    List<Menu> selectMenuList(@Param("userId") String userId);
}
